package com.zjmzxfzhl.modules.app.job;

import com.zjmzxfzhl.modules.app.service.AppAlarmSetService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度demo
 *
 * @author 庄金明
 */
@Component("AlarmJob")
@Slf4j
public class AlarmJob {
    @Autowired
    private AppAlarmSetService appAlarmSetService;

    public void addAlarmJob() {
        appAlarmSetService.addAlarmJob();
    }
}
